home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Present…ry 5: (Reseller Edition) / Apple Reference & Presentations Library 5.0 (Reseller Edition).iso / 6-Developer Demos / Developer Demos-Gen. / Lotus MarketPlace™ Demo / Demo Files / Run Movies / card_2981.txt < prev    next >
Text File  |  1990-08-13  |  4KB  |  224 lines

  1. -- card: 2981 from stack: in
  2. -- bmap block id: 3350
  3. -- flags: 0000
  4. -- background id: 2617
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: 4005
  11. -- rect: left=181 top=171 right=187 bottom=350
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: carlos
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   if the hilite of me is true
  23.   then
  24.   set the hilite of me to false
  25. else
  26.   set the hilite of me to true
  27. end if
  28. end mouseUp
  29.  
  30.  
  31.  
  32. -- part 2 (button)
  33. -- low flags: 00
  34. -- high flags: 0005
  35. -- rect: left=181 top=213 right=229 bottom=345
  36. -- title width / last selected line: 0
  37. -- icon id / first selected line: 0 / 0
  38. -- text alignment: 1
  39. -- font id: 0
  40. -- text size: 12
  41. -- style flags: 0
  42. -- line height: 16
  43. -- part name: mike
  44. ----- HyperTalk script -----
  45. on mouseUp
  46.   if the hilite of me is true
  47.   then
  48.   set the hilite of me to false
  49. else
  50.   set the hilite of me to true
  51. end if
  52. end mouseUp
  53.  
  54.  
  55.  
  56. -- part 3 (button)
  57. -- low flags: 00
  58. -- high flags: 0005
  59. -- rect: left=181 top=251 right=267 bottom=372
  60. -- title width / last selected line: 0
  61. -- icon id / first selected line: 0 / 0
  62. -- text alignment: 1
  63. -- font id: 0
  64. -- text size: 12
  65. -- style flags: 0
  66. -- line height: 16
  67. -- part name: sandra
  68. ----- HyperTalk script -----
  69. on mouseUp
  70.   if the hilite of me is true
  71.   then
  72.   set the hilite of me to false
  73. else
  74.   set the hilite of me to true
  75. end if
  76. end mouseUp
  77.  
  78.  
  79.  
  80. -- part 7 (button)
  81. -- low flags: 00
  82. -- high flags: 2000
  83. -- rect: left=148 top=163 right=195 bottom=176
  84. -- title width / last selected line: 0
  85. -- icon id / first selected line: 0 / 0
  86. -- text alignment: 1
  87. -- font id: 0
  88. -- text size: 12
  89. -- style flags: 0
  90. -- line height: 16
  91. -- part name: 
  92. ----- HyperTalk script -----
  93. on mouseUp
  94.   push card
  95.   go to stack "TWhat1"
  96. end mouseUp
  97.  
  98.  
  99.  
  100. -- part 8 (button)
  101. -- low flags: 00
  102. -- high flags: 2000
  103. -- rect: left=148 top=204 right=236 bottom=176
  104. -- title width / last selected line: 0
  105. -- icon id / first selected line: 0 / 0
  106. -- text alignment: 1
  107. -- font id: 0
  108. -- text size: 12
  109. -- style flags: 0
  110. -- line height: 16
  111. -- part name: 
  112. ----- HyperTalk script -----
  113. on mouseUp
  114.   push card
  115.   go to stack "TWhat2"
  116. end mouseUp
  117.  
  118.  
  119.  
  120. -- part 9 (button)
  121. -- low flags: 00
  122. -- high flags: 2000
  123. -- rect: left=148 top=243 right=275 bottom=176
  124. -- title width / last selected line: 0
  125. -- icon id / first selected line: 0 / 0
  126. -- text alignment: 1
  127. -- font id: 0
  128. -- text size: 12
  129. -- style flags: 0
  130. -- line height: 16
  131. -- part name: 
  132. ----- HyperTalk script -----
  133. on mouseUp
  134.   push card
  135.   go to stack "TWhat3"
  136. end mouseUp
  137.  
  138.  
  139.  
  140. -- part 14 (button)
  141. -- low flags: 00
  142. -- high flags: 2000
  143. -- rect: left=160 top=294 right=309 bottom=277
  144. -- title width / last selected line: 0
  145. -- icon id / first selected line: 0 / 0
  146. -- text alignment: 1
  147. -- font id: 0
  148. -- text size: 12
  149. -- style flags: 0
  150. -- line height: 16
  151. -- part name: Play Movies
  152. ----- HyperTalk script -----
  153. on mouseUp
  154.   global movies_global, number_of_movies, current_movie
  155.   put 0 into number_of_movies
  156.   if the hilite of card button carlos is true
  157.   then
  158.   add 1 to number_of_movies
  159.   put "go to stack TWhat1" into line number_of_movies of movies_global
  160. end if
  161.  
  162. if the hilite of card button mike is true
  163. then
  164. add 1 to number_of_movies
  165. put "go to stack TWhat2" into line number_of_movies of movies_global
  166. end if
  167.  
  168. if the hilite of card button sandra is true
  169. then
  170. add 1 to number_of_movies
  171. put "go to stack TWhat3" into line number_of_movies of movies_global
  172. end if
  173.  
  174. if number_of_movies = 0
  175. then
  176. answer "You must select at least one movie." with "Cancel"
  177. else
  178.   put 0 into current_movie
  179.   go to next card
  180. end if
  181.  
  182.  
  183. end mouseUp
  184.  
  185.  
  186.  
  187. -- part 15 (button)
  188. -- low flags: 00
  189. -- high flags: 2000
  190. -- rect: left=282 top=294 right=309 bottom=396
  191. -- title width / last selected line: 0
  192. -- icon id / first selected line: 0 / 0
  193. -- text alignment: 1
  194. -- font id: 3
  195. -- text size: 10
  196. -- style flags: 0
  197. -- line height: 13
  198. -- part name: Return to Main Menu
  199. ----- HyperTalk script -----
  200. on mouseUp
  201.   visual effect dissolve to black
  202.   visual effect dissolve
  203.   pop card
  204. end mouseUp
  205.  
  206.  
  207. -- part 17 (button)
  208. -- low flags: 00
  209. -- high flags: A002
  210. -- rect: left=429 top=296 right=311 bottom=474
  211. -- title width / last selected line: 0
  212. -- icon id / first selected line: 0 / 0
  213. -- text alignment: 1
  214. -- font id: 3
  215. -- text size: 10
  216. -- style flags: 0
  217. -- line height: 13
  218. -- part name: Quit
  219. ----- HyperTalk script -----
  220. on mouseUp
  221.   domenu "Quit Hypercard"
  222. end mouseUp
  223.  
  224.